package com.bjbn.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 物联网数据查询请求DTO
 * 
 * @author bjbn
 */
@Schema(description = "物联网数据查询请求")
@Data
public class IotDataRequest {

    @Schema(description = "产品ID", required = true, example = "15155062")
    private Long productId;

    @Schema(description = "设备ID", required = true, example = "1515506a1111")
    private String deviceId;

    @Schema(description = "查询开始时间毫秒数", required = true, example = "1675323020000")
    private Long startTime;

    @Schema(description = "查询结束时间毫秒数", required = true, example = "1675323560000")
    private Long endTime;

    @Schema(description = "查询当前页", required = true, example = "1")
    private Integer pageNow;

    @Schema(description = "查询页大小", required = true, example = "10")
    private Integer pageSize;

    @Schema(description = "当前页时间戳", example = "1675323560000")
    private Long pageTimestamp;

    @Schema(description = "API版本", example = "20230203093950")
    private String apiVersion;
} 